
Schema.java

Demonstrates how to register an XML Schema for use by JCR.

setup.sql creates a test user, "test".  As that user, it then registers
an XML Schema with XML DB.  It also creates a resource, /public/po.xml,
in the XML DB repository whose content conforms to that schema.

Schema.java connects as user "test" and prints the JCR node tree under
/public/po.xml.  It then registers the XML Schema previously loaded in
XML DB for use with JCR, and prints the node tree again.

To run:
  sqlplus "/ as sysdba" @setup.sql
  javac Schema.java
  java Schema <databaseURL>

For example:
  java Schema jdbc:oracle:oci:@


